import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

export default async function a023(fd: IFeidaoAiBrowserComponent) {
	//  列表全选按钮
	const v = fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="checkall"]').checked;
	const all_boxs = fd.data.node.querySelectorAll('[data-feidao-name="list_checkbox"]');
	// console.log(v)
	Array.from(all_boxs).forEach((ipt: HTMLInputElement) => {
		ipt.checked = v;
	});
}
